//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using System.ComponentModel;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;
using EntLibContrib.Query.Properties;

namespace EntLibContrib.Query.Configuration.Design
{
	/// <summary>
	/// Represents the root configuration for the Query Application Block.
	/// </summary>
	[Image(typeof(QuerySettingsNode))]
	[SelectedImage(typeof(QuerySettingsNode))]
	public sealed class QuerySettingsNode : ConfigurationSectionNode
	{
		#region Properties
		/// <summary>
		/// <para>Gets the name for the node.</para>
		/// </summary>
		/// <value>
		/// <para>The display name for the node.</para>
		/// </value>		
		[ReadOnly(true)]
		public override string Name
		{
			get { return base.Name; }
		}
		#endregion

		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="QuerySettingsNode"/> class.
		/// </summary>		
		public QuerySettingsNode()
			: base(InternalResources.DefaultQuerySettingsNodeName)
		{
		}
		#endregion
	}
}